import A3 from "./A3";
import Bus from "./Bus";
const A2 = () => {
  return (
    <>
      <Bus.Consumer>
        {({ theme }) => {
          return (
            <div style={{ color: theme }}>
              我是A2
              <A3></A3>
            </div>
          );
        }}
      </Bus.Consumer>
      <p>123</p>
    </>
  );
};

export default A2;
